﻿using Nop.Admin.Models.Common;
using Nop.Web.Framework;
using Nop.Web.Framework.Mvc;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace Nop.Admin.Models.Customers
{
    public class BulkExpressOrderModel : BaseNopEntityModel
    {
        public BulkExpressOrderModel()
        {
            Addresses = new List<AddressModel>();
        }
        public int CustomerId { get; set; }
        //Package info
        [NopResourceDisplayName("Admin.Orders.Shipments.Length")]
        public decimal? Length { get; set; }
        [NopResourceDisplayName("Admin.Orders.Shipments.Width")]
        public decimal? Width { get; set; }
        [NopResourceDisplayName("Admin.Orders.Shipments.Height")]
        public decimal? Height { get; set; }
        [NopResourceDisplayName("Admin.Orders.Shipments.Weight")]
        public decimal? Weight { get; set; }

        [NopResourceDisplayName("Admin.Customers.Shipping.IsLettersize")]
        public bool IsLetterSize { get; set; }
        [NopResourceDisplayName("Admin.Customers.Shipping.NoSignature")]
        public bool NoSignature { get; set; }
        [NopResourceDisplayName("Admin.Customers.Shipping.IsFragile")]
        public bool IsFragile { get; set; }
        [NopResourceDisplayName("Admin.Customers.Shipping.IsDangerous")]
        public bool IsDangerous { get; set; }
        [NopResourceDisplayName("Admin.Customers.Shipping.IsVertical")]
        public bool IsVertical { get; set; }

        [NopResourceDisplayName("Admin.Logistics.Common.Fields.Insurancevalue")]
        [UIHint("DecimalNullable")]
        public decimal? InsuranceValue { get; set; }
        [NopResourceDisplayName("Admin.Customers.Shipping.Comment")]
        public string Comment { get; set; }
        public string DimensionMeasureUnit { get; set; }
        public string WeightMeasureUnit { get; set; }

        [NopResourceDisplayName("Admin.Customers.Shipping.AdditionalInstruction")]
        [AllowHtml]
        public string AdditionalInstruction { get; set; }

        public IList<AddressModel> Addresses { get; set; }
    }
}